﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CEF RID: 3311
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PKAAOLAGDJC : IMessage<PKAAOLAGDJC>, IMessage, IEquatable<PKAAOLAGDJC>, IDeepCloneable<PKAAOLAGDJC>, IBufferMessage
	{
		// Token: 0x170029B4 RID: 10676
		// (get) Token: 0x060093FF RID: 37887 RVA: 0x00189245 File Offset: 0x00187445
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PKAAOLAGDJC> Parser
		{
			get
			{
				return PKAAOLAGDJC._parser;
			}
		}

		// Token: 0x170029B5 RID: 10677
		// (get) Token: 0x06009400 RID: 37888 RVA: 0x0018924C File Offset: 0x0018744C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PKAAOLAGDJCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170029B6 RID: 10678
		// (get) Token: 0x06009401 RID: 37889 RVA: 0x0018925E File Offset: 0x0018745E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PKAAOLAGDJC.Descriptor;
			}
		}

		// Token: 0x06009402 RID: 37890 RVA: 0x00189265 File Offset: 0x00187465
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PKAAOLAGDJC()
		{
		}

		// Token: 0x06009403 RID: 37891 RVA: 0x0018926D File Offset: 0x0018746D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PKAAOLAGDJC(PKAAOLAGDJC other) : this()
		{
			this.eHFNPFCACGJ_ = other.eHFNPFCACGJ_;
			this.lIPJJJKALKB_ = other.lIPJJJKALKB_;
			this.eAFCLNOFMHB_ = other.eAFCLNOFMHB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009404 RID: 37892 RVA: 0x001892AA File Offset: 0x001874AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PKAAOLAGDJC Clone()
		{
			return new PKAAOLAGDJC(this);
		}

		// Token: 0x170029B7 RID: 10679
		// (get) Token: 0x06009405 RID: 37893 RVA: 0x001892B2 File Offset: 0x001874B2
		// (set) Token: 0x06009406 RID: 37894 RVA: 0x001892BA File Offset: 0x001874BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EHFNPFCACGJ
		{
			get
			{
				return this.eHFNPFCACGJ_;
			}
			set
			{
				this.eHFNPFCACGJ_ = value;
			}
		}

		// Token: 0x170029B8 RID: 10680
		// (get) Token: 0x06009407 RID: 37895 RVA: 0x001892C3 File Offset: 0x001874C3
		// (set) Token: 0x06009408 RID: 37896 RVA: 0x001892CB File Offset: 0x001874CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CLILPLKGFDM LIPJJJKALKB
		{
			get
			{
				return this.lIPJJJKALKB_;
			}
			set
			{
				this.lIPJJJKALKB_ = value;
			}
		}

		// Token: 0x170029B9 RID: 10681
		// (get) Token: 0x06009409 RID: 37897 RVA: 0x001892D4 File Offset: 0x001874D4
		// (set) Token: 0x0600940A RID: 37898 RVA: 0x001892DC File Offset: 0x001874DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EAFCLNOFMHB
		{
			get
			{
				return this.eAFCLNOFMHB_;
			}
			set
			{
				this.eAFCLNOFMHB_ = value;
			}
		}

		// Token: 0x0600940B RID: 37899 RVA: 0x001892E5 File Offset: 0x001874E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PKAAOLAGDJC);
		}

		// Token: 0x0600940C RID: 37900 RVA: 0x001892F4 File Offset: 0x001874F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PKAAOLAGDJC other)
		{
			return other != null && (other == this || (this.EHFNPFCACGJ == other.EHFNPFCACGJ && this.LIPJJJKALKB == other.LIPJJJKALKB && this.EAFCLNOFMHB == other.EAFCLNOFMHB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600940D RID: 37901 RVA: 0x00189350 File Offset: 0x00187550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EHFNPFCACGJ != 0U)
			{
				num ^= this.EHFNPFCACGJ.GetHashCode();
			}
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				num ^= this.LIPJJJKALKB.GetHashCode();
			}
			if (this.EAFCLNOFMHB != 0U)
			{
				num ^= this.EAFCLNOFMHB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600940E RID: 37902 RVA: 0x001893C7 File Offset: 0x001875C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600940F RID: 37903 RVA: 0x001893CF File Offset: 0x001875CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009410 RID: 37904 RVA: 0x001893D8 File Offset: 0x001875D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.LIPJJJKALKB);
			}
			if (this.EAFCLNOFMHB != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.EAFCLNOFMHB);
			}
			if (this.EHFNPFCACGJ != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.EHFNPFCACGJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009411 RID: 37905 RVA: 0x00189450 File Offset: 0x00187650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EHFNPFCACGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EHFNPFCACGJ);
			}
			if (this.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.LIPJJJKALKB);
			}
			if (this.EAFCLNOFMHB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EAFCLNOFMHB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009412 RID: 37906 RVA: 0x001894C0 File Offset: 0x001876C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PKAAOLAGDJC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EHFNPFCACGJ != 0U)
			{
				this.EHFNPFCACGJ = other.EHFNPFCACGJ;
			}
			if (other.LIPJJJKALKB != CLILPLKGFDM.SwordTrainingStatusTypeNone)
			{
				this.LIPJJJKALKB = other.LIPJJJKALKB;
			}
			if (other.EAFCLNOFMHB != 0U)
			{
				this.EAFCLNOFMHB = other.EAFCLNOFMHB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009413 RID: 37907 RVA: 0x00189524 File Offset: 0x00187724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009414 RID: 37908 RVA: 0x00189530 File Offset: 0x00187730
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 96U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EHFNPFCACGJ = input.ReadUInt32();
						}
					}
					else
					{
						this.EAFCLNOFMHB = input.ReadUInt32();
					}
				}
				else
				{
					this.LIPJJJKALKB = (CLILPLKGFDM)input.ReadEnum();
				}
			}
		}

		// Token: 0x04003876 RID: 14454
		private static readonly MessageParser<PKAAOLAGDJC> _parser = new MessageParser<PKAAOLAGDJC>(() => new PKAAOLAGDJC());

		// Token: 0x04003877 RID: 14455
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003878 RID: 14456
		public const int EHFNPFCACGJFieldNumber = 15;

		// Token: 0x04003879 RID: 14457
		private uint eHFNPFCACGJ_;

		// Token: 0x0400387A RID: 14458
		public const int LIPJJJKALKBFieldNumber = 8;

		// Token: 0x0400387B RID: 14459
		private CLILPLKGFDM lIPJJJKALKB_;

		// Token: 0x0400387C RID: 14460
		public const int EAFCLNOFMHBFieldNumber = 12;

		// Token: 0x0400387D RID: 14461
		private uint eAFCLNOFMHB_;
	}
}
